/*gridlist*/
//= 通用列表或表格上方操作按钮区
.gridlist-action {
  @if $gridlist-action-img-theme == true {
    background: url(images/#{$gridlist-action-bg}) repeat-x 0 -100px;
  }

  @else {
    background: $gridlist-action-bg;
  }

  padding: 10px 15px;

  // color: $gridlist-action-text-color;
  // border-bottom: 1px solid #efefef;
  // overflow: hidden;

  ul,
  li {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  li {
    float: left;
    margin-right: 5px;
  }

  .first {
    border-left: none;
  }

  .cur {
    margin: 3px 3px 0;
    background-position: 0 -79px;
  }

  .cur span {
    height: 26px;
    line-height: 25px;
    background-position: right -79px;
  }

  .btn {
    margin-right: 5px;
  }

  .content-head &:first-child:last-child {
    padding-top: 0;
  }
}

.home-theme {
  width: 120px;
  height: 140px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  background: $gf;
  border: 2px solid gray_bg($main-color, #f1eae4);
  border-bottom: none;

  &.active {
    border: 2px solid $main-color;
  }
}

.home-theme-title {
  width: 120px;
  line-height: 20px;
  border: 2px solid gray_bg($main-color, #f1eae4);

  .home-theme-bg {
    font-weight: bold;
    background: gray_bg($main-color, #f1eae4);

    a {
      color: $g0;
    }
  }

  &.active {
    border: 2px solid $main-color;

    .home-theme-bg {
      color: $gf;
      background: $main-color;
    }
  }
}

$span-grid: null;

@for $i from 1 through 12 {
  $span-grid: join($span-grid, unquote(".span-#{$i}"), comma);
}

//= 通用表格或列表表头
.gridlist-head {
  // overflow: hidden;
  color: $g3;
  background: #e5e5e5;

  // @include height(22px);
  // border-left: 1px solid #D5DFE3;
  // border-right: 1px solid #D5DFE3;

  th,
  td {
    padding: 0 2px;
    text-align: left;
  }

  td {
    .Node & {
      padding: 10px;
      font-size: 13px;
      color: $primary-text-color;
      text-align: center;

      // border-right: 1px solid $gd;
      // border-left: 1px solid $gf;
      border-collapse: collapse;
      background: #e5e5e5;
    }
  }

  .pointer {
    cursor: pointer;
  }

  .pointer:hover {
    color: #ff9900;
    cursor: pointer;
  }

  .highlight-up {
    padding-left: 3px;
    color: #336699;
    cursor: pointer;
    background: url(images/#{$arrow-up}) no-repeat 95% 50%;
  }

  .highlight-down {
    padding-left: 3px;
    color: #336699;
    cursor: pointer;
    background: url(images/#{$arrow-down}) no-repeat 95% 50%;
  }

  #{$span-grid} {
    // margin: 0;
    // border-left: 1px solid $gf;
    // border-right: 1px solid #e1e1e1;
    padding: 10px;
    color: $primary-text-color;
    text-align: center;
  }
}

//= 通用表格或列表样式
.gridlist {
  height: auto;
  margin: 0;
  color: #5b5b5b;
  border-collapse: collapse;
  background: $gf;

  caption {
    padding: 1px 8px;
    font-weight: 700;
    line-height: 25px;
    text-align: left;
    background: none;
    border: 1px solid $main-divider-color;
    border-bottom: none;
  }

  tr {
    border-bottom: 1px solid $main-border-color;
  }

  .division td & {
    width: auto;
  }

  thead th {
    padding: 10px;
    font-size: 12px;
    font-weight: normal;
    color: #4e4e4e;
    // background: url(images / unquote($main-repeat-bg)) 0 -300px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;

    // @include height(22px);
    // border-right: 1px solid #c8d6dc;
    border-bottom: 1px solid #e5e5e5;
  }

  th {
    width: auto;
  }

  tr.disabled,
  td.disabled {
    color: $g9;
    background: $gd;
  }

  tbody td,
  tbody th {
    padding: 8px 5px;
    text-align: center;

    // height: 25px;
    // line-height: 25px;
    // border-bottom: 1px solid #e8e8e8;
    // border-right: 1px solid #e8e8e8;
    white-space: normal;
    vertical-align: middle;
  }

  .Node-body & {
    tbody td {
      border-right: none;
      border-bottom: none;
    }
  }

  .opt {
    display: block;
    padding: 0;
    text-align: center;
    cursor: pointer;
  }

  p.notice,
  p.note {
    margin: 20px 10px;
  }

  .lnk {
    margin: 0 2px;
  }

  #{$span-grid} {
    padding: 6px;
    margin: 0;
  }
}

/*gridlist tr invalidation*/
//= 通用列表或表格的页脚或表注
.gridlist-footer {
  padding: 3px;
  margin: 0 0 5px;
  line-height: 22px;
  // background: #eef0f2;
  // border-bottom: 1px solid #cfd8dd;

  a {
    color: #586580;
  }

  i {
    font-style: normal;
  }
}

//= 通用表格或列表中的一列
.row-line {
  cursor: default;

  &.item {
    line-height: 2;
  }
}

div.row {
  height: auto;
  overflow: hidden;
  clear: both;
  white-space: nowrap;

  // padding: 1px;
  // border: 1px solid #e8e8e8;
  border-bottom: none;

  .opt img {
    vertical-align: middle;
  }

  .span-relative {
    position: relative;
    overflow: visible;
  }
}

.dialog-content-body div .row {
  height: auto;
}

.row:hover {
  background-color: #ffffd4;
}

//= 分类列表里的列样式
.catlist div.row .opt i {
  visibility: hidden;
  _visibility: visible;
}

.catlist div.row:hover .opt i {
  visibility: visible;
}

div.highlight .row-line {
  border-bottom: 0;
}

.rows-body .span-auto.row-h {
  height: 23px;
  line-height: 23px;
}

//= 可拖动排序的手柄
.move-handler {
  padding: 0 5px 0 3px;
  vertical-align: middle;
  cursor: url(images/hand.cur), move;
}

//= 拖动排序时状态
.move-active,
.move-active .move-handler,
.move-active * {
  cursor: url(images/closedhand.cur), move !important;
}

//= 页脚
.footer {
  padding: 0 0 3px;
  text-align: center;
  border-top: 1px solid $main-border-color;
}

.footer .table-action {
  width: auto;
  margin: 0 auto;
}

/*action-bar*/
//= 操作区域条
.action-bar {
  height: 27px;
  padding: 0 15px;
  line-height: 27px;
  background: #e9e9e9;
  border: 1px $gc solid;
}

/*finder*/
//= finder的大标题
.finder-title {
  padding-bottom: 2px;
  overflow: hidden;

  a,
  .lnk {
    color: #2c4a71;
    text-decoration: none;
  }

  .filter-tip {
    padding: 0 10px 0 10px;
    margin-top: 2px;
    line-height: 20px;
    border: 1px #3f4d69 solid;

    @include border-radius(5px);
  }

  .sift {
    padding: 7px 10px;
    margin-left: 30px;
    text-align: center;
    background: #fcf8e3;
    border: 1px solid $main-divider-color;

    @include border-radius(3px);

    a {
      padding: 0 5px;
      color: #367ec1;
      text-decoration: underline;
    }
  }
}

//= finder tab标签区
.finder-packet {
  position: relative;
  z-index: 100;
  height: $finder-packet-current-height;

  // padding: 0 1px;
  overflow: hidden;
  font-family: Tahoma, Arial, Verdana;

  &:before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    height: 1px;
    content: "";
    background: #efefef;
  }

  .packet-items {
    // height: 24px;
    position: relative;
    background: #ffffff;
  }

  li {
    position: relative;
    float: left;
    height: auto;

    // margin-right: 2px;

    a {
      float: left;

      // @include height($finder-packet-height);

      padding: 10px 15px;
      margin-top: 0;
      font-weight: 500;
      color: $finder-packet-text-color;
      text-decoration: none;
      cursor: pointer;

      @if $finder-packet-img-theme != false {
        @include sliding($finder-packet-lbg);
      }

      @else {
        background: $finder-packet-lbg;
      }
    }

    span {
      @if $finder-packet-img-theme != false {
        @include sliding($finder-packet-rbg, $offsetX: 100%);
      }

      @else {
        background: $finder-packet-rbg;
      }

      // float: left;
      // padding: 0 12px 0 0;
    }
  }

  .last {
    border: none;
  }

  i {
    position: absolute;
    top: 1px;
    right: 0;
    z-index: 700;
    display: block;
    font-size: 15px;
    color: #999999;
    cursor: pointer;
    visibility: hidden;
  }

  // li:first-child.current {
  //   border-left: 0;
  // }

  .current {
    position: relative;
    border-right: 1px solid $main-border-color;
    border-left: 1px solid $main-border-color;

    &:before {
      position: absolute;
      top: 0;
      right: -1px;
      left: -1px;
      height: 3px;
      content: "";
      background-color: $main-color;
    }

    &::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 999;
      height: 1px;
      content: "";
      background-color: $gf;
    }

    a {
      color: $finder-packet-current-text-color;

      @if $finder-packet-img-theme {
        @include sliding($finder-packet-current-rbg, $pos: true);
      }

      @else {
        background: $finder-packet-current-rbg;
      }
    }

    span {
      @if $finder-packet-img-theme {
        @include sliding($finder-packet-current-rbg, $offsetX: 100%, $pos: true);
      }

      @else {
        background: $finder-packet-current-rbg;
      }
    }
  }
}

.finder-packet,
.finder-tabs-wrap {
  .scroll-handle {
    position: absolute;
    top: 0;
    display: none;
    width: 26px;
    color: $g6;
    text-align: center;
    cursor: pointer;
    background: $gf;

    @include height(38px);

    &.l {
      left: 0;
      border-right: 1px solid #efefef;
    }

    &.r {
      right: 0;
      border-left: 1px solid #efefef;
    }
  }
}

//= finder tab标签区滚动操作区
.packet-scroll .scroll-handle, .tabs-scroll .scroll-handle {
  display: block;
}

.packet-scroll .packet-items, .tabs-scroll .tabs-items {
  position: relative;
  margin: 0 25px;
  overflow: hidden;
}

//= finder设置区域
.finder-options {
  padding: 6px 0 0 0;
}

/*finder action*/
//= finder操作按钮区
.finder-action {
  min-height: 42px;
  overflow: visible;
  border-bottom: 0 none;

  @if $finder-action-img-theme {
    background: url(images/#{$finder-action-bg}) repeat-x 0 -100px;
  }

  @else if $finder-action-bg {
    background: $finder-action-bg;
  }

  @include finder-action-box;

  li {
    margin-right: 5px;
  }
}

//= finder操作区列表
.finder-action-items {
  ul,
  li {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  li {
    float: left;
    // margin-right: 5px;
  }

  a {
    @extend .btn;

    .icon {
      margin-right: 3px;
    }
  }

  span {
    // @if $finder-packet-img-theme != false {
    //   @include sliding($finder-action-item-rbg, $offsetX: 100%);
    // }

    // @else {
    //   background: unquote($finder-action-item-rbg);
    // }

    // padding: 0 10px 0 0;
    // float: left;
    // height: 21px;
    // color: $finder-action-item-color;
    background: transparent;
  }
}

/*finder-action-group*/
//= finder操作区操作菜单
.finder-action-group {
  position: relative;

  &:hover {
    z-index: 2;
  }

  ul {
    position: absolute;
    top: 34px;
    left: 0;
    width: 120px;
    display: none;
    background: $gf;
    border: 1px solid $main-border-color;

    @include border-radius(0 0 5px 5px);
    @include box-shadow(0 0 7px rgba(black, .08));
  }

  li {
    float: none;
    clear: both;
    margin-right: 0;
  }

  li > a,
  li span {
    display: block;
    float: none;
    padding: 5px;
    margin: 0 !important;
    color: $g3;
    font-size: 12px;
    line-height: 18px;
    background: none;
    border: none;
    border-radius: 0;

    > span {
      padding: 0;
    }
  }

  li a:hover {
    background: #efefef;
  }

  li.split {
    height: 1px;
    padding: 0;
    margin: 3px 0 3px 0;
    overflow: hidden;
    line-height: 1px;
    background-color: $gc;
    border-bottom: 1px solid $main-border-color;
  }
}

//= finder操作区操作菜单触发按钮
.finder-action-group-handle span i.arrowdown {
  padding: 0 2px 0 2px;

  @if $finder-action-group-img-theme {
    background: url(images/#{$arrow-down}) no-repeat 50% 50%;
  }
}

//= finder操作区高级筛选触发按钮
.finder-filter-action-handle {
  // width: auto;
  position: absolute;
  top: 0;
  right: 0;

  // padding: 1px 0;
  // border-left: 1px $g9 solid;
  bottom: 0;
  padding-right: 10px;
  line-height: 55px;

  a {
    // display: block;
    // line-height: 25px;
    // padding: 4px 7px 3px;
    // border-left: 1px $gf solid;
    text-decoration: none;

    &:hover,
    &.active {
      // background-color: gray_bg($main-color, #F4EEEA);
      color: $g0;
    }

    &.active span {
      visibility: hidden;
    }
  }
}

//= finder操作区搜索框
.finder-search {
  // border: 1px solid #898989;
  padding: 0 5px 0 10px;
  background-color: $main-bg-color;

  // height: 19px;
  // line-height: 19px;
  border-radius: 1000px;

  td {
    padding: 0;
    white-space: nowrap;
  }

  // li {
  //   float: none;
  //   padding: 0 4px;
  //   margin-right: 0;
  // }
}

//= finder操作区搜索项选单
.finder-search-select {
  display: block;
  height: 35px;
  padding-right: 15px;
  padding-left: 15px;
  line-height: 35px;
  color: $g6;
  border-right: 2px solid #ffffff;
}

//= finder操作区搜索输入框
.finder-search-input {
  width: 120px;
  height: 24px !important;
  padding: 0 !important;
  margin-left: 10px;
  font-size: 12px !important;
  color: $g6;
  background: transparent !important;
  border: none !important;
  outline: none;
  box-shadow: none !important;
}

.finder-search-btn {
  color: #ffffff;
  text-align: center;
  background: #cccccc;
  border-radius: 50%;
}

//= finder操作区快捷搜索
.finder-fast-filter {
  padding: 3px 10px;
  white-space: nowrap;
  background: $ge;
  border-bottom: 1px solid $gc;

  b {
    margin-right: 10px;
  }

  .x-input {
    padding: 2px;
    margin-right: 5px;
  }

  .object-select {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    *zoom: 1;
  }

  .btn-close {
    float: right;
    line-height: 22px;

    a {
      font: bold 14px arial;
      color: $g3;

      &:hover {
        text-decoration: none;
      }
    }
  }
}

//= finder数据表标题区容器
.finder-header-wrapper {
  overflow: hidden;

  table {
    table-layout: fixed;
  }

  thead {
    background: $f6;

    @include border($main-border-color, bottom);
  }
}

//= finder数据表标题
.finder-header {
  color: $primary-text-color;

  // border-bottom: 1px $gc solid;
  background: $e5;

  td {
    padding-left: 3px;
    overflow: hidden;
    font-size: 13px;

    // border-left: 1px solid $gf;
    // border-right: 1px solid $gc;
    font-weight: 500;
    vertical-align: middle;
  }

  td td {
    padding: 0;
    border: none;
  }

  .cell {
    height: 50px;
    overflow: hidden;
    line-height: 50px;

    // border-bottom: 1px $gf solid;
    // border-right: 1px $gf solid; 
  }

  .finder-col-title {
    padding: 0 10px;
  }

  //= finder每列标题
  .finder-col-label {
    float: left;
    text-align: left;
    white-space: nowrap;
  }

  .finder-col-desc {
    float: right;
    width: 12px;
    height: 12px;
    margin-top: 3px;
    overflow: hidden;
    line-height: 12px;
    color: $g0;
    text-align: center;
    // border: 1px solid #224878;
    border-radius: 12px;

    &.active,
    &:hover {
      color: $gf;
      background: #224878;
    }

    textarea {
      display: none;
    }
  }

  .finder-col-options {
    position: absolute;
    right: 0;
    padding: 5px 0;
    background: none;
    border: none;
  }

  .orderable {
    cursor: pointer;

    &:hover {
      background-color: $e9;
    }
  }

  .highlight-up .finder-col-title {
    background: url(images/#{$arrow-up}) no-repeat 98% 50%;
  }

  .highlight-down .finder-col-title {
    background: url(images/#{$arrow-down}) no-repeat 98% 50%;
  }

  .finder-col-resizer-handle {
    width: 6px;
    text-align: right;
    background-color: $f6;
  }

  //= finder标题列拖动改变大小
  .finder-col-resizer {
    // text-indent: 2000px;
    display: inline-block;
    width: 3px;
    height: 12px;
    overflow: hidden;
    // color: #cccccc;
    // text-align: center;
    white-space: nowrap;
    cursor: col-resize;
    background: url(images/drag-row.svg) center no-repeat;
    // background-size: contain;
    opacity: 0.6;
    // border-radius: 3px;

    &:hover {
      background-color: $ge;
      opacity: 1;
    }
  }
}

//= finder数据表页脚翻页区
.finder-footer {
  line-height: 34px;
  padding: 5px 10px;

  &.gridlist-footer {
    margin-bottom: 0;
  }

  .pager {
    display: inline-block;
    margin: 0 10px;
    vertical-align: middle;
  }

  table {
    border-collapse: collapse;

    td {
      padding: 0;
      vertical-align: middle;
      border: none;
    }
  }
}

//= finder列拖拽辅助线
.resize-move-el {
  position: absolute;
  z-index: 65536;
  width: 3px;
  cursor: col-resize;
  background-color: $gc;
}

/*finder-cell-opt*/
//= finder数据表
.finder-list {
  z-index: 1;

  table {
    table-layout: fixed;
    border-collapse: collapse;
  }

  .cell {
    overflow: hidden;
    font-family: helvetica,"STHeiti","Microsoft Yahei",Arial,serif;
    white-space: nowrap;

    // padding: 8px 5px;
    // @if fix(ie7) {
    //   *padding: 8px 0;
    // }

    img {
      float: left;
    }

    table td {
      overflow: hidden;
      white-space: nowrap;
    }

    .optBtn {
      display: block;
    }

    .opt-handle {
      display: inline-block;
      padding-top: 3px;
      padding-bottom: 2px;
      margin: 3px;
      color: $a-color;
      white-space: nowrap;
      cursor: pointer;

      b {
        // background: url($arrow-down) no-repeat scroll 50% 50%;
        display: inline-block;
        width: 10px;
        height: 10px;
        vertical-align: center;
      }
    }

    .x-drop-menu {
      // border-color: $g6;
      z-index: 6004;
      padding: 10px;
      border: 0;
      box-shadow: 0 0 10px rgba($g0, 0.1);

      a {
        display: block;
        text-align: right;
        text-decoration: none;
      }

      .cur {
        border-bottom: 1px $gc dotted;
      }
    }

    .droping {
      z-index: 6005;
      padding-right: 6px;
      // @include height(17px);
      padding-left: 6px;
      color: $g6;
      background-color: $gf;
      box-shadow: -1px 0 1px rgba($g0, 0.1);

      b {
        // background: url($arrow-right) no-repeat 50% 50%;
      }
    }
  }

  td {
    overflow: hidden;
    border: none;

    // padding: 0 1px;
  }

  .row {
    // @include height(23px);
    background-color: $gf;

    @include border($main-border-color, bottom);

    &:hover {
      background: #e1f4fc;
    }

    td {
      // border-bottom: 1px solid #e3e6eb;
      padding: 6px;

      input[type=radio],
      input[type=checkbox] {
        margin-top: 0;
        margin-bottom: 0;
      }
    }
  }

  .odd {
    background-color: #f8f8f8;
  }

  //= 未操作的记录
  .unoperated td {
    font-weight: bold;
  }

  //= 高亮的记录
  .highlight-row td {
    font-weight: bold;
  }

  .list-row {
    height: 23px;
    line-height: 23px;
    background-color: #ffffe6;
  }

  .list-warn {
    background: #ffac9b;
  }

  .list-even {
    background-color: #f2ffdd;
  }

  tr.unconv {
    background-color: #ffe3e7;
  }

  .view-detail td {
    font-weight: bold;
    color: $g3;
    background-color: gray_bg($main-color, #f2ece6);
    border-bottom: none;
  }

  .view-detail .cell {
    border: none;
  }

  .finder-detail-colspan {
    padding: 0 3px 4px;
    text-align: left;
    background: gray_bg($main-color, #f2ece6);
    border-top: 1px solid #edf1f5;
  }

  .view-detail .edit-ready,
  .view-detail .tag {
    color: $g3;
    background: $gf;
  }

  .edit-ready .cell {
    padding: 0 4px 0 3px;
    background: #f7faff;
    border: 1px solid #6ea3f8;
  }

  .edit-ing .cell {
    background-image: none;
  }

  .img-tip {
    display: block;
    width: 30px;
    height: 30px;
    overflow: hidden;
    color: $g6;
    text-decoration: none;
    background-color: $gf;
    border: 1px solid $main-border-color;
    border-radius: 3px;

    img {
      width: 100%;
      height: 100%;
      border-radius: 2px;
    }
  }

  .none {
    display: block;
    width: 30px;
    height: 30px;
    background-color: $main-border-color;
    border-radius: 3px;
  }

  .span-auto,
  .fav-star {
    display: inline-block;
    float: none;
    vertical-align: middle;
  }

  .fav-star {
    margin-right: 2px;
  }
}

//= finder查看详情按钮区
.finder-list-command {
  padding-left: 3px;

  span,
  i,
  a {
    font-size: 16px;
    color: #666666;
    cursor: pointer;
  }

  // img {
  //   float: left;
  // }

  a i {
    font-size: 12px;
  }

  i {
    min-width: 1em;
    text-align: center;
  }
}

//= finder提示条
.finder-tip {
  width: 100%;
  overflow: hidden;
  color: $g3;
  text-align: center;
  border-bottom: 1px solid #7394bf;

  @include height(25px);
  @include position(absolute, top, 0, 2);
  @include box-shadow(0 2px 2px rgba(201, 201, 201, 0.8));

  strong {
    margin: 0 3px;
    font-weight: normal;
    color: #338dcc;
    text-decoration: underline;
    cursor: pointer;
  }

  em,
  span {
    margin: 0 2px;
    font-style: normal;
    font-weight: bold;
  }

  .selected {
    background: #e9eff5;
  }

  .selectedall {
    background: #bcdaf8;
  }
}

//= finder数据详情区tab标签
.finder-tabs-wrap {
  position: relative;

  // background-position: 0 -700px;
  // height: auto;
  // overflow: hidden;
  // zoom: 1;
  // border: none;

  li {
    margin: 0;
  }

  a {
    color: #3b495a;
  }

  .tab {

    // height: 28px;
    // overflow: hidden;
    // @include sliding($finder-tab-wrap-bg);
    // background: #efefef;
  }

  .tab span {
    // @include sliding($finder-tab-wrap-bg, $offsetX: 100%);
    // background: #efefef;
  }

  .current {
    // @include sliding($finder-tab-wrap-bg-on);
    // background: #efefef;
  }

  .current span {
    // @include sliding($finder-tab-wrap-bg-on, $offsetX: 100%);
    // background: #efefef;
  }
}

//= finder详情区
.finder-detail {
  //= finder详情内容操作区
  .action-bar {
    float: none;
    height: 33px;
    padding: 2px 0;
    overflow: hidden;
    clear: both;
    border: none;
    border-bottom: 1px solid $gd;
    border-bottom: 1px $gc solid;
  }

  .tableform {
    // border: 1px solid #d9d9d9;
    padding: 10px;
    margin: 10px;
    background: #f8f8f8;

    @include border-radius(5px);

    h4 {
      border: none;
    }

    h5 {
      padding: 7px 0 5px 5px;
      margin: 0 0 5px;
      color: #305c89;
      border-bottom: 1px solid #c8c8c8;
    }

    td,
    th {
      padding: 5px;
    }

    th {
      width: 125px;
      color: $g5;
      vertical-align: middle;
      vertical-align: top;
    }
  }

  .division {
    background: transparent;

    // margin: 5px;
    // padding: 5px 10px;
  }

  .table-action {
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
  }

  .gridlist th,
  .tableform .gridlist th {
    width: auto;
    padding: 10px;
    word-break: keep-all;
    border-bottom: 1px solid #d0d2d5;
  }

  table {
    table-layout: auto;
  }
}

//= finder详情内容区
.finder-detail-content {
  width: 100%;
  overflow: hidden;
  background: $finder-detail-content-bg;
  border: 1px solid gray_bg($main-color, #e3d3c5);
}

//= finder翻页设置
.finder-pageset {
  display: inline-block;

  .finder-pageset-handle {
    padding: 0 5px;
    background-color: $gf;
    border: 1px solid $main-border-color;
  }

  .active {
    position: relative;
    z-index: 500;

    // padding: 1px 2px 0 2px;
    background: $gf;
    border-color: $main-divider-color;
    border-top-color: $gf;
  }

  .x-drop-menu {
    z-index: 499;
    padding: 10px;
    border-color: $main-divider-color;
  }
}

.finder-submit-btn {
  margin-top: -10px;
  padding-bottom: 5px;
}

/* filter */
//= finder高级筛选列表
.filter-list {
  dl {
    padding: 0;
    margin-bottom: 10px;
    clear: both;

    // border: 1px #EBEFF4 solid;

    &.over {
      background: #d8dde9;
      border: 1px solid $gf;

      dt {
        color: $primary-text-color;
      }
    }
  }

  dt {
    margin: 0 0 2px;
    font-weight: normal;
    color: $g6;

    select {
      height: 25px;
      padding: 2px 20px 2px 5px;
    }
  }

  dd {
    padding: 0;
    margin: 0;
    font-weight: 700;
    color: $primary-text-color;

    input,
    select {
      width: 100%;
    }

    input[type=radio],
    input[type=checkbox] {
      width: auto;
      margin-left: 5px;
      margin-right: 5px;
    }

    .x-time-select {
      width: auto !important;
      height: 30px;
      padding: 5px 22px 5px 8px;
    }
  }
}

//= finder订单打印列
.print-col {
  // @include icon-bg($icon-printer, $offsetY: 2px);

  height: 22px;
  padding-left: 25px;
  overflow: hidden;
  white-space: nowrap;

  .span-auto {
    padding: 0 1px;
    margin-right: 2px;
  }

  a:visited {
    color: $gc;
  }
}

//= 选择列
.col-select {
  width: 80px;
  padding: 0;
}

.col-select-opt {
  cursor: pointer;

  img {
    margin-left: 10px;
    opacity: 0.3;
  }

  &:hover {
    // @include sliding($button-bg-fifthly, $offsetX: -1px, $offsetY: -1px);
    background: #efefef;

    img {
      opacity: 1;
    }
  }
}

.col-select-opt-items {
  background: $gf;
  border-color: $main-border-color;
  border-radius: 0 0 5px 5px;

  li.item {
    padding: 3px 10px;
    border-bottom: 1px solid $main-border-color;

    &:hover {
      background: $f3;
    }
  }
}

//= 操作列
.col-opt {
  width: 50px;
}

.gray_form {
  padding: 6px 10px;
  background: $ge;
  border: 1px solid $gc;
}

//= 隐藏
.dis_n {
  display: none;
}

//= 显示
.dis_b {
  display: block;
}

//= 地区编辑省列
.provice-bg:hover {
  background: $f6;
}

.chart-view .gridlist {
  position: relative;
  z-index: 99;
  margin-top: -1px;
  border: 1px solid $main-border-color;
}

// .gridlist{
// .gift_name {
// color:#3367AC;
// border-bottom:1px solid #e8e8e8;
// @include icon-bg(unquote($gift-name-bg),13px,4px);
// background-color:$ge;
// padding-left:50px;
// text-align:left;
// height:21px;overflow:hidden;
// }

// .goodspackage {
// color:#3367AC;
// border-bottom:1px solid #e8e8e8;
// @include icon-bg(unquote($goodspackage-bj),15px, 4px);
// background-color:#F8F8F8;
// padding-left:50px;
// text-align:left;
// }
// tbody td.gift_item { padding:0; background:#F8F8F8; }
// .gift_model { width:210px; }
// }
//= 商品评论列表
.discus-list {
  td {
    word-break: break-word;
    word-wrap: break-word;
  }

  ul {
    margin: 0;
    list-style: none;
  }
}

/*lnk-operation lnk-refresh*/
//= 刷新/操作/搜索链接
.lnk-refresh,
.lnk-operation,
.lnk-search {
  @include square(25px, block, $line: true);

  font-size: 18px;

  span {
    display: none;
  }
}

$i: 0;

@each $v in refresh operation search {
  .lnk-#{$v} {
    @if $lnk-img-theme == true {
      @include icon-bg(unquote($lnk-bg-img), 0, -20px * $i);
    }

    @else if $lnk-bg-img {
      @include background(unquote($lnk-bg-img));
    }

    &:hover {
      @if $lnk-img-theme == true {
        @include icon-bg(unquote($lnk-bg-img), -20px, -20px * $i);
      }

      @else if $lnk-bg-img {
        @include background(unquote($lnk-bg-img));
      }
    }
  }

  $i: $i + 1;
}
